package gate;


import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;

import client.remote.ClientReceiver;
import master.MasterInterface;

public interface IGateEx extends IGate
{
	public void registerServer(MasterInterface master) throws RemoteException;
	public void clientEntered(Long clientId, ClientReceiver client) throws RemoteException;
	public void clientLeft(long clientId) throws RemoteException;
	public void clientLeftGame(int roomId,long clientId) throws RemoteException;
	public void gameEnded(int roomId) throws RemoteException;
	MasterInterface getServer() throws RemoteException;
	void newGameStarted(ArrayList<Long> clients, int roomId) throws RemoteException;
	
}
